﻿/*
 * KLF Headless Browser
 * Written by Kris Oye <kristianoye@gmail.com>
 * Copyright (C) 2011-2012.  All rights reserved.
 */
namespace KLF.Lib.Browser.DOM.HTML
{
    public class HTMLHtmlElement : HTMLElement
    {
        #region Constructors

        internal HTMLHtmlElement(Document owner)
            : base(owner, HTMLConstants.HTML_TAG_HTML)
        {
        }

        #endregion

        #region DOM Level 2 HTML Compliance

        /// <summary>
        /// Version information about the document's DTD.
        /// This attribute is deprecated in HTML 4.01
        /// </summary>
        public string version
        {
            get
            {
                return getAttribute(HTMLConstants.HTML_ATT_VERSION);
            }
            set
            {
                setAttribute(HTMLConstants.HTML_ATT_VERSION, value);
            }
        }
        #endregion
    }
}
